#ifndef COLOUR_FILTER_H_
#define COLOUR_FILTER_H_

#include "filter.h"
#include <QObject>

class QWidget;

class ColourFilter : public QObject, public Filter
{
Q_OBJECT
public:
	ColourFilter();
	void processPoint(ImageState* state);

	QWidget *settings;

public slots:
	void ChangedRedMin(int newVal);
	void ChangedRedMax(int newVal);
	void ChangedGreenMin(int newVal);
	void ChangedGreenMax(int newVal);
	void ChangedBlueMin(int newVal);
	void ChangedBlueMax(int newVal);

private:
	void initSettings();

	int red_min, red_max;
	int green_min, green_max;
	int blue_min, blue_max;
};

#endif // COLOUR_FILTER_H_
